﻿<UserControl x:Class="Reader.View.HtmlView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="1000" SizeChanged="UserControl_SizeChanged">
    
    <Grid Background="White">
        <Grid.RowDefinitions>
            <RowDefinition></RowDefinition>
            <RowDefinition></RowDefinition>
            <RowDefinition></RowDefinition>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition></ColumnDefinition>
            <ColumnDefinition></ColumnDefinition>
        </Grid.ColumnDefinitions>

        <TextBox Text="" Visibility="Collapsed" Name="navUri" HorizontalAlignment="Center" VerticalAlignment="Center"></TextBox>
        <Button  Name="viewWeb"  Click="Button_Click" Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Center"  Visibility="Collapsed">浏览</Button>
        <Border Grid.Row="1" Grid.Column="0" Height="10" Grid.ColumnSpan="2" Background="Black"></Border>
        <Viewbox Grid.Row="2" Grid.ColumnSpan="2" HorizontalAlignment="Center" VerticalAlignment="Center">
            <WebBrowser   HorizontalAlignment="Center" Name="webBrowser1" VerticalAlignment="Top" Visibility="Collapsed" />
        </Viewbox>
    </Grid>
</UserControl>
